package com.tong.springcloud.mapper;

import com.tong.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Xiong Qian
 * @version 1.0
 * @date 2021/7/2 17:45
 */
@Mapper
public interface DeptMapper {

    boolean addDept(Dept dept);

    Dept queryById( Long id);

    List<Dept> queryAll();
}
